import axios from '@/libs/api.request'

// 获取用户信息
export const getUserInfo = (data) => {
  return axios.request({
    url: '/api/as/capital/user/getUserInfo',
    data: data,
    method: 'post'

  })
}
// 添加发放订单信息
export const addCapitalSubmit = (data) => {
  return axios.request({
    url: '/api/ac/capital/capitalOrderService/addCapitalSubmit',
    data: data,
    method: 'post'

  })
}
// 修改发放订单信息
export const updateCapitalSubmit = (data) => {
  return axios.request({
    url: '/api/as/capital/capitalsubmit/updateCapitalSubmit',
    data: data,
    method: 'post'

  })
}
// 申请发放订单列表
export const findCapitalSubmitList = (data) => {
  return axios.request({
    url: '/api/as/capital/capitalsubmit/findCapitalSubmitList',
    data: data,
    method: 'post'

  })
}

// 添加审核记录
export const addCapitalSubmitCheck = (data) => {
  return axios.request({
    url: '/api/ac/capital/capitalOrderService/addCapitalSubmitCheck',
    data: data,
    method: 'post'

  })
}

// 发放情况列表
export const findCapitalSidyList = (data) => {
  return axios.request({
    url: '/api/as/capital/capitalsubsidy/findCapitalSubsidyList',
    data: data,
    method: 'post'
  })
}
// 确认资金发放
export const updateCapitalSubsidy = (data) => {
  return axios.request({
    url: '/api/as/capital/capitalsubsidy/updateCapitalSubsidy',
    data: data,
    method: 'post'
  })
}
